import PureDevTeamForm from '../components/dev-team-form';
import * as ReactRedux from 'react-redux';
import * as DevTeamAction from 'actions/dev-team';

const mapDispatchToProps = (dispatch) => {
  return {
    onSaveDevTeam: (devTeam) => {
      return dispatch(DevTeamAction.create(devTeam));
    }
  };
};

export default ReactRedux.connect(undefined, mapDispatchToProps)(PureDevTeamForm);
